<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/static/common/easyui_header.jsp" %>
<html>
<head>
    <script src="/static/js/views/regularStu.js"></script>
    <title>正式学员管理</title>
</head>
<body>
<table id="regularStu_datagrid">
</table>
<div id="regularStu_toolbar" style="height: 60px">
    <div style="float: left;height: 30px">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="editRegularStu">编辑</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadRegularStu">刷新</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-see',plain:true" data-cmd="seeRegularStu">查看</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-removeStudy',plain:true" data-cmd="removeStudyRegularStu">退学</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-restStudy',plain:true" data-cmd="restStudyRegularStu">休学</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-promote',plain:true" data-cmd="promoteRegularStu">升班</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-retention',plain:true" data-cmd="retentionRegularStu">留级</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-end',plain:true" data-cmd="endRegularStu">结业</a>
    </div>
    <div style="float: right;margin-left: 50px;">
        班级名称 : <input class="easyui-combobox" name="classgrade.id" id="classgradeId"
                      data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade'">
        录入时间 : <input class="easyui-datebox" name="beginDate"> - <input class="easyui-datebox" name="endDate">&emsp;
        关键字 : <input class="easyui-textbox" name="keyWord" id="keyWord">&emsp;
        班级状态 :
        <select id="classStatus" class="easyui-combobox" name="classStatus" style="width: 85px">
            <option value="-1">查询全部</option>
            <option value="0">基础班</option>
            <option value="1">大神班</option>
        </select>
        学员状态 :
        <select id="status" class="easyui-combobox" name="status" style="width: 85px">
            <option value="-3">查询全部</option>
            <option value="-2">已退学</option>
            <option value="-1">休学中</option>
            <option value="0">正常</option>
            <option value="1">已毕业</option>
        </select>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="search">查询</a>
    </div>
</div>
<div id="regularStu_dialog">
    <form id="regularStu_add_form" method="post">
        <div class="easyui-tabs" style="width:600px;height: 550px;" data-options="closable:true">
            <div title="基本信息" fit="true">
            <input type="hidden" name="id" id="regularStu_id">
        <table>
            <tr>
                <td style="font-size: 20px;padding: 10px;color: #0092DC">基本信息  </td>
            </tr>
            <tr>
                <td style="padding: 10px">姓&emsp;名 : <input name="name" class="easyui-textbox baseMessage" required="required"></td>
                <td style="padding: 10px">年&emsp;龄 : <input name="age" class="easyui-textbox baseMessage" required="required"></td>
                <td style="padding: 10px;">性&emsp;别 :
                    <select id="gender_combobox" class="easyui-combobox baseMessage" name="gender" style="width:130px" required="required">
                        <option value="0">男</option>
                        <option value="1">女</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td style="padding: 10px">地&emsp;址 : <input name="address" class="easyui-textbox baseMessage"></td>
                <td style="padding: 10px">qq号码 : <input name="qq" class="easyui-textbox baseMessage"></td>
                <td style="padding: 10px">入学时间 : <input name="inClassTime" class="easyui-datebox baseMessage" required="required"></td>
            </tr>
            <tr>
                <td style="padding: 10px">营销人员 : <input id="inputEmployee" class="easyui-combobox baseMessage" name="inputEmployee.id"
                                                        data-options="valueField:'id',textField:'realName',url:'/employee/queryAll'" required="required">
                </td>
                <td style="padding: 10px">所在校区 : <input id="campus" class="easyui-combobox baseMessage" name="campus.id" required="required"
                                                        data-options="valueField:'id',textField:'name',url:'/regularStu/selectCampusBySystemDictionary'" required="required">
                </td>
                <td style="padding: 10px">所在班级 : <input id="classgrade" class="easyui-combobox baseMessage" name="classgrade.id" style="width: 150px"
                                                        data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade'" required="required">
                </td>
            </tr>
            <tr>
                <td style="padding: 10px">电话号码 : <input name="tel" class="easyui-textbox baseMessage" required="required" required="required"></td>
                <td style="padding: 10px">所在学院 : <input id="college" class="easyui-combobox baseMessage" name="college.id" required="required"
                                                        data-options="valueField:'id',textField:'name',url:'/regularStu/selectCollegeBySystemDictionary'">
                </td>
            </tr>
            <tr>
                <td style="font-size: 20px;padding: 10px;color: #0092DC">缴费信息</td>
            </tr>
            <tr>
                <td style="padding: 10px">总费用 : <input name="totalFee" class="easyui-textbox" readonly></td>
                <td style="padding: 10px">已缴费用 : <input name="paidFee" class="easyui-textbox" readonly></td>
                <td style="padding: 10px">未缴费用 : <input name="unPaidFee" class="easyui-textbox" style="border: 0px;" readonly></td>
            <tr>
                <td style="padding: 10px">付款方式 : <input id="paymentId" class="easyui-combobox" name="payment.id" readonly borderStyle="true"
                                                        data-options="valueField:'id',textField:'name',url:'/regularStu/selectAllPayment'">
                </td>
                <td style="padding: 10px">支付类型 : <input id="paymentType" class="easyui-combobox" name="paymentType.id" readonly
                                                        data-options="valueField:'id',textField:'name',url:'/regularStu/selectAllPaymentType'">
                </td>
            <td style="padding: 10px">缴费状态 :
                <select name="feeStatus" class="easyui-combobox" id="feeStatus_combobox" style="width:130px" readonly>
                    <option value="0">未缴清</option>
                    <option value="1">已缴清</option>
                </select>
            </td>
            </tr>
            </tr>
        </table>
            </div>
            <div title="私密信息" fit="true">
                <table align="center" style="padding-top: 50px;">
                    <tr>
                        <td style="padding: 20px;color: red" colspan="2">该页信息选填,请尽量填写</td>
                    </tr>
                    <tr>
                        <td style="padding: 20px;">身份证号:</td>
                        <td><input class="easyui-textbox" name="idNum" style="padding: 20px;"/></td>

                    </tr>
                    <tr>
                        <td style="padding: 20px;">紧急联系人名称:</td>
                        <td><input class="easyui-textbox" name="emergencyName" style="padding: 20px;"/></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td style="padding: 20px;">紧急联系人电话:</td>
                        <td><input style="padding: 20px;" class="easyui-textbox" name="emergencyTel"/></td>
                    </tr>
                    <tr>
                        <td style="padding: 20px;">期望工作:</td>
                        <td><input class="easyui-textbox" name="wishWork" style="padding: 20px;"/></td>
                    </tr>
                    <tr>
                        <td style="padding: 20px;">工作经历:</td>
                        <td><input class="easyui-textbox" data-options="multiline:true" name="experienceWork"
                                   style="width:405px;height:100px;padding: 20px;"/></td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</div>
<div id="regularStu_dialog_buttons">
    <a id="commit_button" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="save">确定</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
<div id="retention_dialog" style="width: 250px;height: 200px">
    <div class="easyui-form">
        <table style="text-align: center;margin-top: 20px">
            <tr>
                <td>
                    <span style="color: #d9534f;margin: 30px;">请选择适当的留级班级</span>
                </td>
            </tr>
            <tr>
                <td>
                    &emsp;
                    &emsp;
                </td>
            </tr>
            <tr>
                <td style="align-items: center;">
                    <input id="retentionClassrade" class="easyui-combobox" name="retentionClassgrade" style="width: 200px"
                           data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade'">
                </td>
            </tr>
        </table>
    </div>
</div>
<div id="retention_buttons">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="save_retention">确定</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel_retention">取消</a>
</div>
</body>
</html>
